package view;

import java.awt.BorderLayout;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;

import javax.swing.WindowConstants;

public class VisorXML extends javax.swing.JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JScrollPane jScroll1;
	private JTextArea jTextArea1;

	public VisorXML() {
		super("Visor XML");
		initGUI();
		setVisible(true);
	}

	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			{
				jScroll1 = new JScrollPane();
				getContentPane().add(jScroll1, BorderLayout.CENTER);
				{
					jTextArea1 = new JTextArea();
					jScroll1.setViewportView(jTextArea1);
				}
			}
			pack();
			this.setSize(700, 800);
		} catch (Exception e) {
			// add your error handling code here
			e.printStackTrace();
		}
	}

	public void setText(String s) {
		jTextArea1.setText(s);
	}

}
